//
//  SLMethodSwizzlingController.m
//  Objective-C
//
//  Created by S_Line on 2018/8/2.
//  Copyright © 2018年 S_Line. All rights reserved.
//

#import "SLMethodSwizzlingController.h"

@interface SLMethodSwizzlingController ()

@end

@implementation SLMethodSwizzlingController

- (void)initNavBar {
    self.navTitle = @"MethodSwizzling 方法交换";
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self initNavBar];
    
    [self initData];
    
    [self initView];
}

- (void)initData {
    NSString *str = @"I am Lu Chengdong";
    [str lowercaseString];
}

- (void)initView {
    UILabel *label1 = [[UILabel alloc] init];
    label1.font = [UIFont systemFont13];
    label1.backgroundColor = [UIColor whiteColor];
    label1.numberOfLines = 0;
    label1.text = @"看打印";
    [self.view addSubview:label1];
    [label1 mas_remakeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(kMargin_Horizontal);
        make.right.mas_equalTo(-kMargin_Horizontal);
        make.top.mas_equalTo(kNavigationBarHeight + kMargin_Ten_Point);
    }];
}

@end
